<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="lj" uri="http://www.louisjiang.com/tag" %>
<%@ taglib prefix="joda" uri="http://www.joda.org/joda/time/tags" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<html>
<head>
    <title>
        卖菜网后台管理-
        <decorator:title/>
    </title>
    <link type="text/css" href="/css/decorators.css" rel="stylesheet"/>
    <decorator:head/>
</head>
<body>
<%--<c:set var="user" value="${lj:currentUser()}"/> --%>
<div style="background-image:url(/images/center_tile_green.gif)">
    <table cellpadding="0" cellspacing="0" style="width:100%;">
        <tr>
            <td>
                <div style="font-size:1px;width:6px;height:34px;background-image:url(/images/left_cap_green.gif);"></div>
            </td>
            <td style="width:100%;">
                <ul id="qm0" class="qmmc">
                    <li><a class="qmparent" href="javascript:void(0)">首页</a></li>
                    <li><span class="qmdivider qmdividery"></span></li>
                    <li><a class="qmparent" href="javascript:void(0)">产品</a>
                        <ul>

                            <li><span class="qmtitle">产品</span></li>
                            <li><a href="/admin/product/list.html">产品列表</a></li>
                            <li><a href="/admin/product/save.html">添加产品</a></li>
                            <li><span class="qmtitle">类型</span></li>
                            <li><a href="/admin/producttype/list.html">类型列表</a></li>
                            <li><a href="/admin/producttype/save.html">添加类型</a></li>
                        </ul>
                    </li>
                    <li><span class="qmdivider qmdividery"></span></li>
                    <li><a class="qmparent" href="javascript:void(0)">订单</a>
                        <ul>

                            <li><span class="qmtitle">订单</span></li>
                            <li><a href="/admin/order/list.html">订单列表</a></li>
                        </ul>
                    </li>
                    <li><span class="qmdivider qmdividery"></span></li>
                    <li><a class="qmparent" href="javascript:void(0)">邮件</a>
                        <ul>
                            <li><span class="qmtitle">模版</span></li>
                            <li><a href="/admin/mailtemplate/list.html">模版列表</a></li>
                            <li><a href="/admin/mailtemplate/save.html">添加模版</a></li>
                            <li><span class="qmtitle">类型</span></li>
                            <li><a href="/admin/mailtype/list.html">类型列表</a></li>
                            <li><a href="/admin/mailtype/save.html">添加类型</a></li>
                        </ul>
                    </li>
                    <li><span class="qmdivider qmdividery"></span></li>
                    <li><a class="qmparent" href="javascript:void(0)">用户</a>
                        <ul>
                            <li><span class="qmtitle">用户</span></li>
                            <li><a href="#">用户列表</a></li>
                            <li><a href="#">添加用户</a></li>
                            <li><span class="qmtitle">角色</span></li>
                            <li><a href="/admin/role/list.html">角色列表</a></li>
                            <li><a href="/admin/role/save.html">添加角色</a></li>
                            <li><a href="#">分配角色</a></li>
                        </ul>
                    </li>
                    <li><span class="qmdivider qmdividery"></span></li>
                    <li><a class="qmparent" href="javascript:void(0)">权限</a>
                        <ul>
                            <li><span class="qmtitle">权限</span></li>
                            <li><a href="/admin/resource/list.html">权限列表</a></li>
                            <li><a href="/admin/resource/save.html">添加权限</a></li>
                        </ul>
                    </li>
                </ul>
            </td>
            <td>
                <div style="border-width:0px 0px 0px 1px;border-color:#aaaaaa;border-style:solid;font-size:1px;width:8px;height:25px;"></div>
            </td>
            <td style="padding:0px 5px 0px 0px;">
                <div style="width:330px;font-family:arial;font-size:12px;">欢迎<strong>${user.username}</strong>回来,你的登录时间是:
                    <joda:format value="${user.createTime}" pattern="yyyy-MM-dd HH:mm"/>
                    <a href="/logout.html">退出</a>
                </div>
            </td>
            <td>
                <div style="font-size:1px;width:6px;height:34px;background-image:url(/images/right_cap_green.gif);"></div>
            </td>
        </tr>
    </table>
</div>
<div style="margin-top:10px;">
    <h3>
        <decorator:title/>
    </h3>
    <decorator:body/>
</div>
</body>
</html>